﻿namespace Pisces
{
    /*
     * 单例模块抽象类
     * created by wangqiang
    */
    public abstract class AbstractSingletonModule<T> : UnlockSingleton<T> where T : class, InterfaceEntityLiftcycle
    {
	    public virtual void onInit()
	    {
	    }

	    public virtual void onLoaded()
	    {
	    }

	    public virtual void onAwake()
	    {
	    }

	    public virtual void onUpdate(float deltaTime)
	    {
	    }

	    public virtual void onDestroy()
	    {
	    }
    }
}